﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data;

/// <summary>
/// Summary description for DaiLyController
/// </summary>
public class DaiLyController
{
	public DaiLyController()
	{
		//
		// TODO: Add constructor logic here
		//
	}
    DaiLyDAL DAL = new DaiLyDAL();
    public DataTable fnC_GetDataDaily()
    {
        return DAL.fnG_GetDataDaiLy();

    }


    public DaiLyEntity fnC_GetDaiLy(string madl)
    {
        return DAL.fnG_GetDaiLy(madl);
    }

    public void AddNew(DaiLyEntity daily)
    {
        DAL.fn_AddDaiLy(daily);
    }

    public void DeleteDaiLy(string p)
    {
        DAL.fn_DelDaiLy(p);
    }

    public void UpdateDaiLy(DaiLyEntity daily)
    {
        DAL.fn_UpdateDaiLy(daily);
    }
}